package com.itheima.service;

import com.itheima.pojo.OrderDTO;
import com.itheima.pojo.OrderVo;
import org.springframework.stereotype.Service;

@Service
public interface OrderService {
    /**
     * 根据id查询预约信息
     * @param id
     * @return
     */
    OrderVo getById(Integer id);

    /**
     * 用户预约接口
     * @param orderDTO
     */
    void add(OrderDTO orderDTO);
}
